<template>
  <div>
    <p>{{ testStore.count }}</p>
    <button @click="testStore.count++">+</button>
    <button @click="testStore.count--">-</button>
  </div>
</template>

<script lang="ts">
export default {
  name: "XTest",
};
</script>

<script lang="ts" setup>
import { useTestStore } from "@/stores/test";

const testStore = useTestStore();
</script>

<style scoped></style>
